dispatchApplyWindowInsets
open fun dispatchApplyWindowInsets(@NonNull view: View, @NonNull insets: WindowInsetsCompat): WindowInsetsCompat(source)
Request to apply the given window insets to this view or another view in its subtree.
This method should be called by clients wishing to apply insets corresponding to areas obscured by window decorations or overlays. This can include the status and navigation bars, action bars, input methods and more. New inset categories may be added in the future. The method returns the insets provided minus any that were applied by this view or its children.
Return
The provided insets minus the insets that were consumed
Parameters
view
view for which to dispatch the request.
insets
Insets to apply